import axios from './index'
//表格数据
export function tablelist(data){
    return axios({
        url:"/user/admin/list",
        method:"post",
        data
    });
}
//批量删除
export function deleteAll(data){
    return axios({
        url:"/user/admin/del",
        method:"post",
        data
    });
}

export function tableaddlist(){
    return axios({
        url:"/user/roles/list",
        method:"post"
    })
}

export function gettableadd(params){
    return axios({
        url:"/user/admin/save",
        method:"post",
        params
    })
}
